package org.example.doctorapi.order;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.example.doctorapi.data.BaseDto;

import java.io.Serializable;
import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@TableName("his_care_history")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class HisCareHistory extends BaseDto implements Serializable {
    @TableId
    private String chId;
    private int userId;
    private String userName;
    private String patientId;
    private String patientName;
    private Long deptId;
    private String deptName;
    private String receiveType;
    private String isContagious;
    private Date careTime;
    private String caseDate;
    private String regId;
    private String caseTitle;
    private String caseResult;
    private String doctorTips;
    private String remark;
    public static final String CH_ID = "ch_id";
    public static final String USER_ID="user_id";
    public static final String USER_NAME="user_name";
    public static final String PATIENT_ID="patient_id";
    public static final String PATIENT_NAME="patient_name";
    public static final String DEPT_ID="dept_id";
    public static final String DEPT_NAME="dept_name";
    public static final String RECEIVE_TYPE="receive_type";
    public static final String IS_CONTAGIOUS="is_contagious";
    public static final String CARE_TIME="care_time";
    public static final String CASE_DATE="case_date";
    public static final String REG_ID="reg_id";
    public static final String CASE_TITLE="case_title";
    public static final String CASE_RESULT="case_result";
    public static final String DOCTOR_TIPS="doctor_tips";
    public static final String REMARK="remark";
}
